package com.dmap.knowledge.service;

import com.dmap.knowledge.po.BannerTag;

import java.util.List;

public interface BannerTagService {
    /**
     * 通过banner查找tag
     *
     * @param id
     * @return
     */
    public List<BannerTag> selectByBannerId(long id);
    
    /**
     * 插入bannerTag
     *
     * @param bannerId
     * @param tagTypeId
     * @param tagTypeName
     * @param tagId
     * @param tagName
     * @param createTime
     * @return
     */
    public int insertBannerTag(long bannerId, long tagTypeId, String tagTypeName, long tagId, String tagName, long createTime);
    
    /**
     * 通过bannerid查询 删除tag
     *
     * @param bannerId
     * @return
     */
    public int deleteBannerTagByBannerId(long bannerId);
    
    /**
     * 删除bannerIds
     *
     * @param bannerIds
     * @return
     */
    public int deleteBannerTagList(String bannerIds);
    
  
}
